JavaScript

{dialog.object}_populateSourceComponent Method

Syntax

{dialog.Object}._populateSourceComponent([closeWindowAfterSubmit]);

Arguments

closeWindowAfterSubmitboolean

A true or false value. If true, the window in which the child UX component is shown will be closed after the parent component is updated. If false, the window will remain open.

If set, closeWindowAfterSubmit will override the "Close UX Component after submit" property in the action used to open the child UX.

Description

Set the value of controls in the calling Grid or UX component to the value of the mapped controls in the current UX.

Example

//Populate the controls in the parent Grid with their corresponding value in the UX
{dialog.object}._populateSourceComponent();

Used exclusively in the special case where the UX was opened using the 'Open UX as an alternate editing view for current record' action in Action Javascript.

See Also